<?
include_once('conn.php');
include_once('include/func.php');
include("admin_check.php") ;
if($admin[0][2]<>10){exit('<script>alert("您没有权限"); window.history.back(-1);</script>');}

?>	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><? echo systemname;?></title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="css/admin.css" rel="stylesheet" type="text/css" />
	<!-- jquery packed -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="js/dtree.js"></script>
	<!-- tableRowCheckboxToggle -->
    <script type="text/javascript"> 
    function fade() 
{ 
    //停留2秒后消失,在停留的时候,透明度为1.0什么都不做 
    $('<div id="add" class="quick-alert">操作成功</div>').insertAfter($("#example")).animate({opacity: 1.0}, 2000).fadeOut("slow",function(){ 
   //隐藏时把元素删除 
   $(this).remove(); 
}); 
} 
</script> 
<link href="js/facefiles/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script src="js/facefiles/facebox.js" type="text/javascript"></script>
<script src="js/jc_table.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facebox]').facebox() 
    })
		////////
</script>
<style>
.j_td{border:#999 solid 1px;}
.iframe{ width:700px;}
</style>
</head>
<body <? echo isset($_GET[ok])?'onload="fade();"':''; ?>>
<div id="wrap">
<div id="main" class="clearfix">
<div id="side">
  </div>
  <div id="head"><? include_once('admin_head.php');?></div>
  <div id="left"><?
  include_once('admin_menu.php');
  ?></div>
  <div id="right">
<div id="example"> </div>



<img src="images/ttfjpg.php?t=安全记录&amp;bg=titlebg2.jpg&amp;z=18&amp;x=5&amp;y=22&amp;r=0&amp;b=0&amp;g=0"  />
<table border="0" cellspacing="1" cellpadding="0" class="jc_table">
  <tr class="header">
    <td>时间</td>
    <td>IP</td>
    <td>记录</td>
  </tr>
   <tr class="t<? echo $i%2==0?1:2;?>">
          <td colspan="3" class="middle">管理员用同一IP登陆失败超过三次则会禁止登陆2个小时[只显示最后30条记录]<br />
如果发现太多不确定IP的登陆，请立刻修改密码。</td>
        </tr>
        <? $list = $db->select("SELECT * FROM `".tablepre."save` order by datetime desc limit 30");
	  for($i=0;$i<count($list);$i++){ 
	  ?>
       
        <tr class="t<? echo $i%2==0?1:2;?>">
      <td><? echo $list[$i][3];?></td>
      <td><? echo $list[$i][2];?></td>
      <td><? echo $list[$i][1];?></td>
      
      </tr>

<? } ?>


</table>
</div>
  </div>
</div>

<div id="footer">
<?
include_once('fooder.php');
?>
</div>
</BODY>
</HTML>
